﻿using MG.Repository;
using MG.SmartHMI.Model.Common.Enum;
using MiniExcelLibs.Attributes;
using SqlSugar;

namespace MG.SmartHMI.Entity.DAO
{
    [SugarTable("driver_MessageStateConfig")]
    public class MessageStateConfig : BaseEntity
    {
        [ExcelColumn(Name = "名称")]

        public string Name { get; set; } = "新建状态";

        [ExcelColumn(Name = "状态码")]
        public int StateCode { get; set; } = 0;

        [ExcelColumn(Name = "信息")]
        public string Message { get; set; } = "新建状态消息";

        [ExcelColumn(Name = "消息等级")]
        public EnumMessageLevel MessageLevel { get; set; } = EnumMessageLevel.Info;
    }
}